Skip to main content

showIcon

Type

property

Summary

Specifies whether a button's icon is visible.

Syntax

set the showIcon of <button> to {true | false}

Description

Use the showIcon property to change a button's appearance.

If a button's showIcon property is set to true, the image specified in the button's icon property is displayed in the button's rectangle. If the showIcon is false, the icon is not displayed.

If the button's icon property is zero, the setting of this property has no effect.

A button with an icon may need to be resized to show the entire icon.

Examples

set the showIcon of button 3 to false

glossary: property

keyword: image

object: button

property: armedIcon, icon, hilitedIcon

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?